package com.wu.Dao;



import com.wu.DO.studentDO;
import org.apache.ibatis.annotations.Param;

/**
 * Created by admin on 2018/11/21.
 */

public interface StudentMapper {
    int checkUserName(String username);
    studentDO login(@Param("username") String username, @Param("password")String password);
    int addStudent(@Param("studentId") Integer studentId, @Param("username")String username, @Param("password") String password, @Param("sname") String sname, @Param("studentClass") String studentClass, @Param("sex") String sex, @Param("phoneNumber") String phoneNumber, @Param("email")String email, @Param("identityNumber") String identityNumber);
    int changeStuPwd(@Param("studentId") Integer studentId, @Param("password") String password, @Param("identityNumber") String identityNumber );
}


